import request from '@/utils/request'

// 查询资产使用记录列表
export function listPropertyRecord(query) {
  return request({
    url: '/it/PropertyRecord/list',
    method: 'get',
    params: query
  })
}

// 查询资产使用记录详细
export function getPropertyRecord(${pkColumn.javaField}) {
  return request({
    url: '/it/PropertyRecord/' + ${pkColumn.javaField},
    method: 'get'
  })
}

// 新增资产使用记录
export function addPropertyRecord(data) {
  return request({
    url: '/it/PropertyRecord/save',
    method: 'post',
    data: data
  })
}

// 修改资产使用记录
export function editPropertyRecord(data) {
  return request({
    url: '/it/PropertyRecord/update',
    method: 'put',
    data: data
  })
}

// 删除资产使用记录
export function delPropertyRecord(${pkColumn.javaField}) {
  return request({
    url: '/it/PropertyRecord/remove/' + ${pkColumn.javaField},
    method: 'delete'
  })
}



// 导出资产使用记录
export function exportPropertyRecord(query) {
  return request({
    url: '/it/PropertyRecord/export',
    method: 'get',
    params: query
  })
}
